import { ReactNode } from 'react'

interface IProps {
    render: () => ReactNode
}

const DataProvider: any = (props: IProps) => {
    return props.render()
}

export default DataProvider